package cn.com.cifi.mars.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yyd
 * @since 2019-12-07
 */
@TableName("t_sys_job")
public class SysJob implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * job编码
     */
    private String code;

    /**
     * job名称
     */
    private String name;

    /**
     * job状态：0-空闲，1-运行
     */
    private Integer status;

    /**
     * job描述
     */
    private String description;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 0有效 1删除
     */
    private Integer isdelete;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
    public Integer getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(Integer isdelete) {
        this.isdelete = isdelete;
    }

    @Override
    public String toString() {
        return "SysJob{" +
        "id=" + id +
        ", code=" + code +
        ", name=" + name +
        ", status=" + status +
        ", description=" + description +
        ", updateTime=" + updateTime +
        ", isdelete=" + isdelete +
        "}";
    }
}
